# list C
l = ["a","b"]
l.append("c",)
l.append(["c","d"])
l.append({"a"})
l.append(("a"))

l = ["a"]
l +=["b"]

l.insert(0,"b")

#list R
l = ["a","b","c","d","e"]
l[0] = "a"
l[:-1:2] =['a','c']
l.index("e")

#list U

l = ["a","b","c"]
l[0] = 'd'
l[0:2] = ["f","e"]

#list D
l = ["a","b","c"]
x = l.pop()
l.clear()

#sort
l = [5,8,44,12,-5]
l.sort()
b = sorted(l)
l_2 = l.reverse()
c = reversed(l)

#tuple R
l = (1, [1, 2], 3)
a = l[1]
b = l.index([1, 2])
c = l[0:2]


#Dict  C
d = {"a":1,"b":2,"c":3}
d["a"] = 2
d_1 = {"d":4}
d.update(d_1)

#dict R
d = {"a":1,"b":2,"c":3}
d["a"] = 1
d.get["a"] = 1
d.get["e"] = none
d.keys()
d.values()
d.items()

#dict U
d = {"a":1,"b":2,"c":3}
d["a"] = 10
d.update({"d":20,"b":30,"f":40})

#dict D
d = {"a":1,"b":2,"c":3}
d.pop("c")
d.popitem()
d.clear()

#set C
s = set()
s.add("a")
s.update("b")

#set R
{"a"} in s

#set U
s = {"c"}
s_1 = {"e", "bf"}
s.union(s_1)

#set D
s.remove("c")
s.pop()
s. discard("a")